package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserMessage extends BaseDomain{

	//columns START
    /** from用户ID */
	private java.lang.Integer fromId;
    /** to用户ID */
	private java.lang.Integer toId;
    /** 留言内容 */
	private java.lang.String content;
	//columns END
	public UserMessage(){
	}

	public UserMessage( java.lang.Integer id ){
		this.id = id;
	}

	public void setFromId(java.lang.Integer fromId) {
		this.fromId = fromId;
	}

	public java.lang.Integer getFromId() {
		return this.fromId;
	}
	
	public void setToId(java.lang.Integer toId) {
		this.toId = toId;
	}

	public java.lang.Integer getToId() {
		return this.toId;
	}
	
	public void setContent(java.lang.String content) {
		this.content = content;
	}

	public java.lang.String getContent() {
		return this.content;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

